<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="../css/index.css">
</head>
<body>
    <div class="opp_one">
        <div class="header">
            <div class="member-link">
                <div class="deng_lu">
                    登录
                </div>
                <div class="my-order">
                    <a href="#">我的订单</a>
                    <span class="span-top">
                        <img src="../imgs/one (6).png" alt="">
                    </span>
                </div>
                <div class="fl">
                    <a href="#">会员中心</a>
                </div>
            </div>
        </div>
    </div>
    <div class="header-main">
        <img src="http://www.mg.cn/public/images/1b/18/cc/a507c08c1a5d3a0250863c6e408f42a40190f35c.jpg?1484966364#w" alt="">
        <div class="search">
            <input type="text">
            <button>搜索</button>
            <p>热门关键词:</p>
                <ul class="sousuo">
                    <li>1</li>
                    <li>2</li>
                    <li>3</li>
                    <li>4</li>
                </ul>
        </div>
    </div>
    <div class="opp_two">
        <div class="page">
            <div class="category-handle">
                <h3>所有商品分类
                    <img src="../imgs/aa-恢复的_03.png" alt="">
                   
                   
                </h3>
                <span></span>
            </div>
            <div class="nav">
                <ul>
                    <li>
                        <a href="#">
                            晨光开学季
                        </a>
                    </li>
                    <li>
                        <a href="#">
                            晨光文具节
                        </a>
                    </li>
                    <li>
                        <a href="#">
                            晨光正姿
                        </a>
                    </li>
                    <li>
                        <a href="#">
                            晨光速干
                        </a>
                    </li>
                    <li>
                        <a href="#">
                            晨光优渥
                        </a>
                    </li>
                    <li>
                        <a href="#">
                            晨光集客
                        </a>
                    </li>
                    <li>
                        <a href="#">
                            晨光优品
                        </a>
                    </li>
                </ul>
            </div>
            <div class="clearfix">
                <img src="../imgs/aa_03.png" alt="">
                <p>购物车中有
                    <span>
                        0
                    </span>
                    件商品</p>
                    <button>去结算</button>
            </div>
        </div>
    </div>
    <div class="banner">
            <ul class="imgBox">
              <li class="active" style="background-color: red;">
                <img src="http://www.mg.cn/public/images/51/9d/f9/aa9997493fa920031c38e01142c7a881789bbc45.jpg?1501565986#w" alt="">
            </li>
              <li style="background-color: pink;">
                <img src="http://www.mg.cn/public/images/18/32/2d/d7a8b524d6e3c8648142eddc2e82a36da917e1f1.jpg?1501566004#w" alt="">
            </li>
              <li style="background-color: orange;">
                <img src="http://www.mg.cn/public/images/47/8e/2f/ffe2f2d78e489808a2fec325b260920fd4e1485e.jpg?1501566013#w" alt="">
            </li>
            </ul>
            <div class="mll">
                <ol>
                    <li>
                            书写工具
                        <img src="../imgs/small1.png" alt="">
                        <ul class="one active">
                            <li>钢笔</li>
                            <li>中性笔</li>
                            <li>铅笔</li>
                            <li>高档书写</li>
                            <li>直液式笔</li>
                        </ul>
                    </li>
                    <li>
                            纸张本册
                        <img src="../imgs/small1.png" alt="">
                        <ul class="one active">
                            <li>皮革本 |  胶套本</li>
                            <li>硬抄本 |  活页本</li>
                            <li>缝线本</li>
                            <li>精装本册</li>
                        </ul>
                    </li>
                    <li>
                            套装礼盒
                        <img src="../imgs/small1.png" alt="">
                    </li>
                    <li>
                            学习用品
                        <img src="../imgs/small1.png" alt="">
                    </li>
                    <li>
                            美术画材
                        <img src="../imgs/small1.png" alt="">
                    </li>
                    <li>
                            精品耳机
                        <img src="../imgs/small1.png" alt="">
                    </li>
                    <li>
                            办公用品
                        </h3>
                        <img src="../imgs/small1.png" alt="">
                        <ul class="one active">
                            <li>桌面办公</li>
                            <li>文件管理</li>
                            <li>胶粘用品</li>
                            <li>办公生活</li>
                            <li>办公用纸</li>
                            <li>会议展示</li>
                            <li>专业办公书写工具</li>
                            <li>办公设备</li>
                            <li>移动周边</li>
                            <li>打印耗材</li>
                            <li>打印机/多功能一体机</li>

                        </ul>
                    </li>
                </ol>
            </div>
    </div>
    </div>
    <div class="slide-box">
        <ul>
            <li>
                <img src="../imgs/43a768cf03add230ca889132516f33b8fd1dbc01.jpg" alt="">
            </li>
            <li>
                <img src="../imgs/6b792292f7604bd052e83b661b5be935d139380f.jpg" alt="">
            </li>
            <li>
                <img src="../imgs/7a5cb9578ae42ab9e9937cd495380e38676ff998.jpg" alt="">
            </li>
            <li>
                <img src="../imgs/c2069d3a70df88731fae0681a80c98bc01f576be.jpg" alt="">
            </li>
        </ul>
    </div>
    <div class="boss">
        <div class="index-product">
            <h3>1F</h3>
            <div class="index-content">
                <div class="adbar">
                    <img src="../imgs/shang.jpg" alt="">
                    <img src="../imgs/zhong.jpg" alt="">
                    <img src="../imgs/xia.jpg" alt="">
                </div>
                <div class="product-list">
                    <ul>
                        <li>
                            <img src="../imgs/01.jpg" alt="">
                            <p>晨光多功能防护隔离垫板ADB983L6</p>
                            <b>抢购价
                                <span>
                                    ￥35.50
                                </span>
                            </b>
                        </li>
                        <li>
                            <h3>
                            <img src="../imgs/02.jpg" alt="">
                            </h3>
                            <p>晨光点状双面胶AJD73202绿8m</p>
                            <b>抢购价
                                <span>
                                    ￥30.00
                                </span>
                            </b>
                        </li>
                        <li>
                            <h3>
                                <img src="../imgs/03.jpg" alt="">
                                </h3>
                                <p>晨光点状双面胶AJD73202绿8m</p>
                                <b>抢购价
                                    <span>
                                        ￥1.42
                                    </span>
                                </b>                        </li>
                        <li>
                            <h3>
                                <img src="../imgs/04.jpg" alt="">
                                </h3>
                                <p>晨光双面点点胶绿8m AJD73301</p>
                                <b>抢购价
                                    <span>
                                        ￥5.70
                                    </span>
                                </b>

                        </li>
                        <li>
                            <h3>
                                <img src="../imgs/05.jpg" alt="">
                                </h3>
                                <p>晨光修正贴萌萌的图图AAP90525</p>
                                <b>抢购价
                                    <span>
                                        ￥5.70
                                    </span>
                                </b>

                        </li>
                        <li>
                            <h3>
                                <img src="../imgs/06.jpg" alt="">
                                </h3>
                                <p>晨光双面点点胶绿8m AJD73201</p>
                                <b>抢购价
                                    <span>
                                        ￥5.22
                                    </span>
                                </b>

                        </li>
                        <li>
                            <h3>
                                <img src="../imgs/07.jpg" alt="">
                                </h3>
                                <p>晨光A1电动削笔机APS906A5</p>
                                <b>抢购价
                                    <span>
                                        ￥4.75
                                    </span>
                                </b>

                        </li>
                        <li>
                            <h3>
                                <img src="../imgs/08.jpg" alt="">
                                </h3>
                                <p>晨光12ml修正液T6072</p>
                                <b>抢购价
                                    <span>
                                        ￥3.80
                                    </span>
                                </b>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
        <div class="sales-charts">
            <h3>本类销售排行榜</h3>
            <div class="charts-content">
                <ul>
                    <li>
                        <img src="../imgs/07.jpg" alt="">
                        <img src="../imgs/one (1).png" alt="">

                        <div class="kll">
                            <p>晨光A1电动削笔机APS906A5</p>
                        <b>抢购价
                            <span>
                                ￥4.75
                            </span>
                        </b>
                        </div>
                    </li>
                    <li>
                        <img src="../imgs/01.jpg" alt="">
                        <img src="../imgs/one (2).png" alt="">

                        <div class="kll">
                            <p>晨光多功能防护隔离垫板ADB983L6</p>
                        <b>抢购价
                            <span>
                                ￥35.50
                            </span>
                        </b>
                        </div>
                    </li>
                    <li>
                        <img src="../imgs/05.jpg" alt="">
                        <img src="../imgs/one (3).png" alt="">

                        <div class="kll">
                            <p>晨光修正贴萌萌的图图AAP90525</p>
                        <b>抢购价
                            <span>
                                ￥5.70
                            </span>
                        </b>
                        </div>
                    </li>
                    <li>
                        <img src="../imgs/02.jpg" alt="">
                        <img src="../imgs/one (4).png" alt="">

                        <div class="kll">
                            <p>晨光点状双面胶AJD73202绿8m</p>
                        <b>抢购价
                            <span>
                                ￥30.00
                            </span>
                        </b>
                        </div>
                    </li>
                    <li>
                        <img src="../imgs/04.jpg" alt="">
                        <img src="../imgs/one (5).png" alt="">

                        <div class="kll">
                            <p>晨光双面点点胶绿8m AJD73301</p>
                        <b>抢购价
                            <span>
                                ￥5.70
                            </span>
                        </b>
                        </div>
                    </li>
                </ul>
            </div>
        </div>
    </div>
    <div class="boss">
        <div class="index-product">
            <h3>2F</h3>
            <div class="index-content">
                <div class="adbar">
                    <img src="../imgs/erji02 (1).jpg" alt="">
                    <img src="../imgs/erji02 (2).jpg" alt="">
                    <img src="../imgs/erji02 (3).jpg" alt="">
                
                </div>
                <div class="product-list">
                    <ul>
                        <li>
                            <img src="../imgs/two01 (1).jpg" alt="">
                            <p>晨光3X2优事贴100页YS-02</p>
                            <b>抢购价
                                <span>
                                    ￥1.60
                                </span>
                            </b>
                        </li>
                        <li>
                            <h3>
                                <img src="../imgs/two01 (2).jpg" alt="">

                            </h3>
                            <p>晨光2X3PET五分条便条贴20页YS-20</p>
                            <b>抢购价
                                <span>
                                    ￥2.85
                                </span>
                            </b>
                        </li>
                        <li>
                            <h3>
                                <img src="../imgs/two01 (3).jpg" alt="">

                                </h3>
                                <p>晨光大32K办公软抄38页XPY3S382</p>
                                <b>抢购价
                                    <span>
                                        ￥2.07
                                    </span>
                                </b>                        </li>
                        <li>
                            <h3>
                                <img src="../imgs/two01 (8).jpg" alt="">

                                </h3>
                                <p>晨光3X5优事贴100页YS-05</p>
                                <b>抢购价
                                    <span>
                                        ￥4.00
                                    </span>
                                </b>

                        </li>
                        <li>
                            <h3>
                                <img src="../imgs/two01 (5).jpg" alt="">

                                </h3>
                                <p>晨光9枚X10自粘性标签(蓝)YT-12</p>
                                <b>抢购价
                                    <span>
                                        ￥2.00
                                    </span>
                                </b>

                        </li>
                        <li>
                            <h3>
                                <img src="../imgs/two01 (6).jpg" alt="">

                                </h3>
                                <p>晨光B540批注作文无线装订本本味MPYJPQ48</p>
                                <b>抢购价
                                    <span>
                                        ￥4.75
                                    </span>
                                </b>

                        </li>
                        <li>
                            <h3>
                                <img src="../imgs/two01 (7).jpg" alt="">

                                </h3>
                                <p>晨光本味B540化学无线装订本MPYJPK95E</p>
                                <b>抢购价
                                    <span>
                                        ￥4.75
                                    </span>
                                </b>

                        </li>
                        <li>
                            <h3>
                                <img src="../imgs/two01 (4).jpg" alt="">

                                </h3>
                                <p>晨光本味B540生物无线装订本MPYJPK96H</p>
                                <b>抢购价
                                    <span>
                                        ￥4.75
                                    </span>
                                </b>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
        <div class="sales-charts">
            <h3>本类销售排行榜</h3>
            <div class="charts-content">
                <ul>
                    <li>
                        <img src="../imgs/two01 (8).jpg" alt="">
                        <img src="../imgs/one (1).png" alt="">

                        <div class="kll">
                            <p>晨光A1电动削笔机APS906A5</p>
                        <b>抢购价
                            <span>
                                ￥4.75
                            </span>
                        </b>
                        </div>
                    </li>
                    <li>
                        <img src="../imgs/two01 (2).jpg" alt="">
                        <img src="../imgs/one (2).png" alt="">

                        <div class="kll">
                            <p>晨光多功能防护隔离垫板ADB983L6</p>
                        <b>抢购价
                            <span>
                                ￥35.50
                            </span>
                        </b>
                        </div>
                    </li>
                    <li>
                        <img src="../imgs/two01 (1).jpg" alt="">
                        <img src="../imgs/one (3).png" alt="">

                        <div class="kll">
                            <p>晨光修正贴萌萌的图图AAP90525</p>
                        <b>抢购价
                            <span>
                                ￥5.70
                            </span>
                        </b>
                        </div>
                    </li>
                    <li>
                        <img src="../imgs/two01 (3).jpg" alt="">
                        <img src="../imgs/one (4).png" alt="">

                        <div class="kll">
                            <p>晨光点状双面胶AJD73202绿8m</p>
                        <b>抢购价
                            <span>
                                ￥30.00
                            </span>
                        </b>
                        </div>
                    </li>
                    <li>
                        <img src="../imgs/two01 (6).jpg" alt="">
                        <img src="../imgs/one (5).png" alt="">

                        <div class="kll">
                            <p>晨光双面点点胶绿8m AJD73301</p>
                        <b>抢购价
                            <span>
                                ￥5.70
                            </span>
                        </b>
                        </div>
                    </li>
                </ul>
            </div>
        </div>
    </div>
    <div class="boss">
        <div class="index-product">
            <h3>3F</h3>
            <div class="index-content">
                <div class="adbar">
                    <img src="../imgs/zhuozi (1).jpg" alt="">
                    <img src="../imgs/zhuozi (2).jpg" alt="">
                    <img src="../imgs/zhuozi (3).jpg" alt="">

                </div>
                <div class="product-list">
                    <ul>
                        <li>
                            <img src="../imgs/three (1).jpg" alt="">
                            <p>晨光80蓝牙条码打印机AEQ96779</p>
                            <b>抢购价
                                <span>
                                    ￥785.43
                                </span>
                            </b>
                        </li>
                        <li>
                            <h3>
                                <img src="../imgs/three (2).jpg" alt="">

                            </h3>
                            <p>晨光4寸热敏标签打印机有纸仓AEQN8979</p>
                            <b>抢购价
                                <span>
                                    ￥699.00
                                </span>
                            </b>
                        </li>
                        <li>
                            <h3>
                                <img src="../imgs/three (3).jpg" alt="">

                                </h3>
                                <p>晨光4寸电子面单打印机无纸仓AEQN8978</p>
                                <b>抢购价
                                    <span>
                                        ￥666.00
                                    </span>
                                </b>                        </li>
                        <li>
                            <h3>
                                <img src="../imgs/three (4).jpg" alt="">

                                </h3>
                                <p>晨光趣学宝MINI打印机（粉）AEQN8980</p>
                                <b>抢购价
                                    <span>
                                        ￥378.00
                                    </span>
                                </b>

                        </li>
                        <li>
                            <h3>
                                <img src="../imgs/three (5).jpg" alt="">

                                </h3>
                                <p>晨光MG-M3300DW黑白多功能激光一体机</p>
                                <b>抢购价
                                    <span>
                                        ￥3452.64
                                    </span>
                                </b>

                        </li>
                        <li>
                            <h3>
                                <img src="../imgs/three (6).jpg" alt="">

                                </h3>
                                <p>晨光MG-N610K针式打印机82列平推式AEQ96739</p>
                                <b>抢购价
                                    <span>
                                        ￥2051.78
                                    </span>
                                </b>

                        </li>
                        <li>
                            <h3>
                                <img src="../imgs/three (7).jpg" alt="">

                                </h3>
                                <p>晨光MG-N730K针式打印机82列平推式AEQ96741</p>
                                <b>抢购价
                                    <span>
                                        ￥2971.89
                                    </span>
                                </b>

                        </li>
                        <li>
                            <h3>
                                <img src="../imgs/three (8).jpg" alt="">

                                </h3>
                                <p>晨光黑白激光多功能一体机AEQ96778</p>
                                <b>抢购价
                                    <span>
                                        ￥2163.75
                                    </span>
                                </b>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
        <div class="sales-charts">
            <h3>本类销售排行榜</h3>
            <div class="charts-content">
                <ul>
                    <li>
                        <img src="../imgs/three (7).jpg" alt="">

                        <img src="../imgs/one (1).png" alt="">

                        <div class="kll">
                            <p>晨光A1电动削笔机APS906A5</p>
                        <b>抢购价
                            <span>
                                ￥4.75
                            </span>
                        </b>
                        </div>
                    </li>
                    <li>
                        <img src="../imgs/three (8).jpg" alt="">

                        <img src="../imgs/one (2).png" alt="">

                        <div class="kll">
                            <p>晨光多功能防护隔离垫板ADB983L6</p>
                        <b>抢购价
                            <span>
                                ￥35.50
                            </span>
                        </b>
                        </div>
                    </li>
                    <li>
                        <img src="../imgs/three (4).jpg" alt="">

                        <img src="../imgs/one (3).png" alt="">

                        <div class="kll">
                            <p>晨光修正贴萌萌的图图AAP90525</p>
                        <b>抢购价
                            <span>
                                ￥5.70
                            </span>
                        </b>
                        </div>
                    </li>
                    <li>
                        <img src="../imgs/three (2).jpg" alt="">

                        <img src="../imgs/one (4).png" alt="">

                        <div class="kll">
                            <p>晨光点状双面胶AJD73202绿8m</p>
                        <b>抢购价
                            <span>
                                ￥30.00
                            </span>
                        </b>
                        </div>
                    </li>
                    <li>
                        <img src="../imgs/three (1).jpg" alt="">

                        <img src="../imgs/one (5).png" alt="">

                        <div class="kll">
                            <p>晨光双面点点胶绿8m AJD73301</p>
                        <b>抢购价
                            <span>
                                ￥5.70
                            </span>
                        </b>
                        </div>
                    </li>
                </ul>
            </div>
        </div>
    </div>
    <div class="boss">
        <div class="index-product">
            <h3>4F</h3>
            <div class="index-content">
                <div class="adbar">
                    <img src="../imgs/zhuozi (1).jpg" alt="">
                    <img src="../imgs/zhuozi (2).jpg" alt="">
                    <img src="../imgs/zhuozi (3).jpg" alt="">

                </div>
                <div class="product-list">
                    <ul>
                        <li>
                            <img src="../imgs/four (1).jpg" alt="">
                            <p>晨光MG-D3300原装激光鼓组件ADGN5221</p>
                            <b>抢购价
                                <span>
                                    ￥842.10
                                </span>
                            </b>
                        </li>
                        <li>
                            <h3>
                                <img src="../imgs/four (2).jpg" alt="">

                            </h3>
                            <p>晨光碳粉盒MG-C7516XC大容量激光ADG99005</p>
                            <b>抢购价
                                <span>
                                    ￥472.13
                                </span>
                            </b>
                        </li>
                        <li>
                            <h3>
                                <img src="../imgs/four (3).jpg" alt="">

                                </h3>
                                <p>晨光MG-1100原装纯黑激光碳粉盒ADG99095</p>
                                <b>抢购价
                                    <span>
                                        ￥436.37
                                    </span>
                                </b>                        </li>
                        <li>
                            <h3>
                                <img src="../imgs/four (4).jpg" alt="">

                                </h3>
                                <p>晨光MG-P1500原装激光碳粉盒ADGN5222</p>
                                <b>抢购价
                                    <span>
                                        ￥399.60
                                    </span>
                                </b>

                        </li>
                        <li>
                            <h3>
                                <img src="../imgs/four (5).jpg" alt="">

                                </h3>
                                <p>晨光碳粉盒MG-C4521T易加粉激光ADG99010</p>
                                <b>抢购价
                                    <span>
                                        ￥283.15
                                    </span>
                                </b>

                        </li>
                        <li>
                            <h3>
                                <img src="../imgs/four (6).jpg" alt="">

                                </h3>
                                <p>晨光MG-1200原装纯黑激光碳粉盒ADG99096</p>
                                <b>抢购价
                                    <span>
                                        ￥266.67
                                    </span>
                                </b>

                        </li>
                        <li>
                            <h3>
                                <img src="../imgs/four (7).jpg" alt="">

                                </h3>
                                <p>晨光碳粉盒MG-CC337C激光ADG99014</p>
                                <b>抢购价
                                    <span>
                                        ￥253.75
                                    </span>
                                </b>

                        </li>
                        <li>
                            <h3>
                                <img src="../imgs/four (8).jpg" alt="">

                                </h3>
                                <p>晨光12ml修正液T6072</p>
                                <b>抢购价
                                    <span>
                                        ￥3.80
                                    </span>
                                </b>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
        <div class="sales-charts">
            <h3>本类销售排行榜</h3>
            <div class="charts-content">
                <ul>
                    <li>
                        <img src="../imgs/four (3).jpg" alt="">

                        <img src="../imgs/one (1).png" alt="">
                        <div class="kll">
                            <p>晨光A1电动削笔机APS906A5</p>
                        <b>抢购价
                            <span>
                                ￥4.75
                            </span>
                        </b>
                        </div>
                    </li>
                    <li>
                        <img src="../imgs/four (2).jpg" alt="">

                        <img src="../imgs/one (2).png" alt="">

                        <div class="kll">
                            <p>晨光多功能防护隔离垫板ADB983L6</p>
                        <b>抢购价
                            <span>
                                ￥35.50
                            </span>
                        </b>
                        </div>
                    </li>
                    <li>
                        <img src="../imgs/four (5).jpg" alt="">

                        <img src="../imgs/one (3).png" alt="">
                        
                        <div class="kll">
                            <p>晨光修正贴萌萌的图图AAP90525</p>
                        <b>抢购价
                            <span>
                                ￥5.70
                            </span>
                        </b>
                        </div>
                    </li>
                    <li>
                        <img src="../imgs/four (8).jpg" alt="">

                        <img src="../imgs/one (4).png" alt="">

                        <div class="kll">
                            <p>晨光点状双面胶AJD73202绿8m</p>
                        <b>抢购价
                            <span>
                                ￥30.00
                            </span>
                        </b>
                        </div>
                    </li>
                    <li>
                        <img src="../imgs/four (1).jpg" alt="">

                        <img src="../imgs/one (5).png" alt="">

                        <div class="kll">
                            <p>晨光双面点点胶绿8m AJD73301</p>
                        <b>抢购价
                            <span>
                                ￥5.70
                            </span>
                        </b>
                        </div>
                    </li>
                </ul>
            </div>
        </div>
    </div>
    <div class="section">
        <div class="pic">
            <img src="http://www.mg.cn/public/images/ab/08/fc/97649eb13ce9ecce5964bcb9a04b4a165e750126.jpg?1503469298#w" alt="">
        </div>
    </div>
    <div class="theme-footer"> 
        <p>
            <img src="../imgs/jinghui.png" alt="">
            沪ICP备05010720号
        </p>
        <p>
            上海晨光文具股份有限公司版权所有
        </p>
        <p>
            沪ICP备05010720号-4
        </p>
        <p>
            地址：上海市古美路1528号A2晨光科技大厦13F
        </p>
        <p>
            咨询电话：021-31597900（服务时间 09:00–18:00）
        </p>
    </div>
</body>

    <script src="../chajian/assets/jquery/jquery.min.js"></script>
    <script src="../js/fengzhuangcookie.js"></script>
    <script src="../lunbotu/banner.js"></script>
    <script src="../js/index.js"></script>
    
   <script>
        const b = new Banner('.banner')

        // $('.mll > ol > li').mouseenter('li' , function() {
        //     console.log(123)
        //  $(this).find('ul').css({display:"flex"}).parent().siblings().find('ul').css({display:"none"})
        // })
        const rop = document.querySelector('.deng_lu')
        rop.onclick = function() {
            
            window.location.href = '../html/denglu.html'
        }

        $('.mll > ol').on('click', 'li' , function() {

            window.location.href = '../html/shangpin.html'
        })

        $('.clearfix').on('click', 'button',function () {
            window.location.href = './gouwuche.html'
        })

        const num = getCookie('total') 
        // console.log(num)
        str =`<b>${ num || 0 }</b>`
        $('.clearfix > p > span').html(str)



    
    const ul = document.querySelector('.sousuo')
    const inp = document.querySelector('.search > input')

    inp.addEventListener('input', function () {

      const value = this.value.trim()

      if (!value) return

      const script = document.createElement('script')

      const url = `https://www.baidu.com/sugrec?pre=1&p=3&ie=utf-8&json=1&prod=pc&from=pc_web&sugsid=1446,32857,33124,33061,32973,33099,33101,32962,22159&wd=${value}&req=2&csor=1&cb=bindHtml&_=1605768936993`

      script.src = url

      document.body.appendChild(script)

      script.remove()

    })

    function bindHtml(res) {

        if (!res.g) {
        ul.classList.remove('active')
        return
      }

      let str = ''

      for (let i = 0; i < res.g.length; i++) {
        str += `
          <li>${ res.g[i].q }</li>
        `
      }

      ul.innerHTML = str

      ul.classList.add('active')

    }


      </script>
</html>